Skip to content

Inline code highlighting #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 13, 2025
Merged

Inline code highlighting #65

merged 4 commits into from
Apr 13, 2025

Conversation

ryangjchandler
Copy link
Collaborator

This PR adds support for inline code highlighting.

The syntax is as follows:

`{php}echo "Hello, world!"`

This will output a <code> element with a set of classes & styles based on the theme configured for Phiki & CommonMark.

@ryangjchandler ryangjchandler added this to the v2.0.0 milestone Apr 13, 2025
@ryangjchandler ryangjchandler merged commit 9bc51d8 into 2.x Apr 13, 2025
3 checks passed
@ryangjchandler ryangjchandler deleted the inline-code-highlighting branch April 13, 2025 17:28
@ryangjchandler ryangjchandler mentioned this pull request Apr 13, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant